/*
* @Author: Choisaaaa
* @Date: 2018/5/14  23:42
* 广告头条信息的业务处理逻辑
*/

import Mutil from "util/mm.jsx";
const _mm = new Mutil();

class HeadLine{
    //1.新增头条信息
    saveHeadLine(headLine){
        return _mm.request({
            type    : 'post',
            url     : '/manage/headLine/save_headLine.do',
            data    : headLine
        });
    }
    //2.头条信息列表
    getHeadLineList(listParam){
        return _mm.request({
            type    : 'post',
            url     : '/manage/headLine/list.do',
            data    : listParam
        });
    }

}
export default HeadLine;